package com.zhiche.lisa.bms.dao.mapper.statistics;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.zhiche.lisa.bms.dao.model.statistics.StaticPayCost;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 应付费用统计表 Mapper 接口
 * </p>
 *
 * @author liangpeng
 * @since 2019-01-18
 */
public interface StaticPayCostMapper extends BaseMapper<StaticPayCost> {

    /**
     * 得到应付费用
     * @return
     */
    List<StaticPayCost> getPayCostByCostType(@Param("ew") Wrapper<StaticPayCost> ew);

    /**
     * 找到未处理的运单
     * @return
     */
    List<StaticPayCost> getDistinctPayCostNoDeal(@Param("ew") Wrapper<StaticPayCost> ew);
}
